<template>
  <div class="content">
    <div class="info-title">
      {{ name }}

      <slot name="action"></slot>
    </div>
    <slot></slot>
  </div>
</template>
<script>
export default {
  name: "InfoBox",
  props: {
    name: {
      type: String,
      default: "",
    },
  },
  components: {},
  data() {
    return {};
  },
  created() {},
  methods: {},
};
</script>
<style lang="scss" scoped>
.info-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
}
.content {
  // padding-right: 50px;
  // padding-right: 300px;
}
::v-deep .el-form--label-top .el-form-item__label {
  padding: 0px;
}
</style>
